package com.shuoyue.ycgk.ui.recruitment.resume.major;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseViewHolder;
import com.shuoyue.ycgk.R;
import com.shuoyue.ycgk.base.baseadapter.AppBaseQuickAdapter;
import com.shuoyue.ycgk.entity.Major;

import java.util.List;

public class MajorAdapter extends AppBaseQuickAdapter<Major> {

    public MajorAdapter(@Nullable List<Major> data) {
        super(R.layout.item_search, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, Major item) {
        helper.setText(R.id.tv_title, item.getName());
        helper.addOnClickListener(R.id.tv_title);
    }


}
